package com.nuoniu.sibanyun.mapper.erp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuoniu.sibanyun.entity.erp.ErpBankAccount;

/**
 * <p>
 * 银行账户 Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2020-10-12
 */
public interface ErpBankAccountMapper extends BaseMapper<ErpBankAccount> {

    /**
     * 校验名称是否重复
     * @param companyId
     * @param name
     * @param oldId
     * @return
     */
    boolean isHaveName(Integer companyId,String name,Long oldId);

}
